<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>tango.text.Ascii</title>

<link rel="stylesheet" type="text/css" href="css/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="css/ie56hack.css"><![endif]-->
<script language="JavaScript" src="js/util.js" type="text/javascript"></script>
<script language="JavaScript" src="js/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="js/explorer.js" type="text/javascript"></script>
<script>
function anchorFromTitle(title, path, ext) {
  var url = path + title + "." + ext;
  document.write("<a href='" + url + "'>" + title + "</a>");
  }
</script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("tango.text.Ascii");</script>
        <table class="content">
                <tr><td id="docbody"><h1><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/text/Ascii.d?rev=3791">tango.text.Ascii</a></h1>
                
<b>License:</b><br>
BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a><br><br>
<b>Version:</b><br>
Dec 2006: Initial release<br><br>
<b>author:</b><br>Kris<br><br>        Placeholder for a selection of ASCII utilities. These generally will
        not work with utf8, and cannot be easily extended to utf16 or utf32<br><br>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>char[] <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/text/Ascii.d?rev=3791#L38">toLower</a></span>
<script>explorer.outline.addDecl('toLower');</script>(char[] <span class="funcparam">src</span>, char[] <span class="funcparam">dst</span> = null);</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Convert to lowercase. Returns the converted content in dst,
        performing an in-place conversion if dst is null</font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>char[] <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/text/Ascii.d?rev=3791#L61">toUpper</a></span>
<script>explorer.outline.addDecl('toUpper');</script>(char[] <span class="funcparam">src</span>, char[] <span class="funcparam">dst</span> = null);</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Convert to uppercase. Returns the converted content in dst,
        performing an in-place conversion if dst is null</font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>int <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/text/Ascii.d?rev=3791#L83">icompare</a></span>
<script>explorer.outline.addDecl('icompare');</script>(char[] <span class="funcparam">s1</span>, char[] <span class="funcparam">s2</span>);</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Compare two char[] ignoring case. Returns 0 if equal
        
</font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>int <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/text/Ascii.d?rev=3791#L103">compare</a></span>
<script>explorer.outline.addDecl('compare');</script>(char[] <span class="funcparam">s1</span>, char[] <span class="funcparam">s2</span>);</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Compare two char[] with case. Returns 0 if equal
        
</font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>int <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/text/Ascii.d?rev=3791#L127">isearch</a></span>
<script>explorer.outline.addDecl('isearch');</script>(in char[] <span class="funcparam">src</span>, in char[] <span class="funcparam">pattern</span>); [static]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Return the index position of a text pattern within src, or
        pattern.length upon failure.</font><br><br>
<font color="black">This is a case-insensitive search &#40;with thanks to Nietsnie&#41;
        
</font><br><br></dd></dl></td></tr>
                <tr><td id="docfooter">
                        Copyright (c) 2006 Kris Bell. All rights reserved :: page rendered by CandyDoc. Generated by <a href="http://code.google.com/p/dil">dil</a> on Sat Aug  2 16:08:37 2008.
                </td></tr>
        </table>
</div>
<script></script>
</body></html>